@import "base";

#content{
  position: absolute;
  top:0;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  -webkit-overflow-scrolling: touch;
  overflow-y : scroll;
}

.cart{
  background: #fff;
  padding:0.2rem;
  padding-top:0;
  margin-top: 0.2rem;
  margin-bottom: 2.34rem;
}
.cart::after {
  content: '';
  clear: both;
  display:block;
}

.cart-bottom{
  display: -webkit-flex;
  display: flex;
  padding:0.2rem;
  height: 2rem;
  overflow: hidden;
  align-items: center;
  justify-content: space-between;
  border-top:1px solid #f5f5f5;
}

.cart-bottom-checkbox input{
  width:  px2rem(30px , $base-font-size);
  height:  px2rem(30px , $base-font-size);
  line-height:  px2rem(30px , $base-font-size);
  text-align: center;
  border: none;
  margin-right: px2rem(10px , $base-font-size);
  -webkit-border-radius:100%;
  border-radius:100%;
  -moz-border-radius:100%;
}

.cart-bottom-left{
  margin-right: px2rem(10px , $base-font-size);
}

.cart-bottom-left img{
  width: px2rem(150px , $base-font-size);
  height: px2rem(150px , $base-font-size);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
.cart-bottom-center{
  display: -webkit-flex;
  display: flex;
  justify-content:flex-start;
  flex-direction: column;
  flex-grow:3;
  @include px2px('font-size' , 24);
}
//.cart-bottom-right-title , .cart-bottom-right-price{
//  height: 1rem;
//  line-height: 1rem;
//}
.cart-bottom-right-price{
  margin-top: 0.1rem;
}

.cart-address{
  padding-left: px2rem(60px , $base-font-size);
  padding-right: 0.2rem;
  padding-bottom: 0.2rem;
  padding-top: 0.2rem;
  @include px2px('font-size' , 24);
  display: flex;
  display: -webkit-flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  color: #000;
  height: px2rem(76px , $base-font-size);
}
.cart-address-name{
  flex-grow: 8;
}
.cart-address-tel{
  flex-grow: 1;
}
.cart-address-icon{
  flex-grow: 1;
  text-align: right;
  @include px2px('font-size' , 24);
}
.cart-address-icon i{
  @include px2px('font-size' , 24);
}

.cart-total-price{
  display: flex;
  display: -webkit-flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: px2rem(120px , $base-font-size);
  background: #fff;
  position: fixed;
  bottom:px2rem(87px , $base-font-size);
  width: 100%;
}
.cart-total-price button{
  background: #ea4f55;
  width: px2rem(120px , $base-font-size);
  height: px2rem(90px , $base-font-size);
  border: none;
  color: #fff;
  padding:0.1rem;
  @include px2px('font-size' , 24);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  margin-right: 0.2rem;
}
.total{
  margin-left: 0.2rem;
}
.total-price{
  color: #ea4f55;
  @include px2px('font-size' , 42);
  margin-left:2px;
}

.starting-price{
  color: #ea4f55;
  @include px2px('font-size' , 18);
  position: absolute;
  bottom:px2rem(210px , $base-font-size);
  padding: px2rem(10px , $base-font-size);
  z-index: 0;
  width: 100%;
  text-align: center;
}

.starting-price::after{
    content: '';
    background-color: #000;
    position:absolute;
    top:0;
    left:0;
    z-index: -1;
    filter:alpha(opacity=30);
    -moz-opacity:0.3;
    opacity:0.3;
    height: 100%;
    width: 100%;
}